﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Automobile.service.BLL;
using Automobile.service.Model;

namespace Automobile.service.UI
{
    public partial class PurchaseIntoCheck : System.Web.UI.Page
    {
        PurchaseBLL bll = new PurchaseBLL();
        protected void Page_Load(object sender, EventArgs e)
        {
            if(!IsPostBack)
            {
                MainLoad();
            }
        }
        public void MainLoad()
        {
            int id = Convert.ToInt32(Request.QueryString["id"]);
            this.Repeater1.DataSource = bll.PurCheckMain(id);//获取数据源
            this.Repeater1.DataBind();//绑定数据源
        }
    }
}